package com.nj.liandi.gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.nj.liandi.common.utils.PageUtils;
import com.nj.liandi.gulimall.ware.entity.WareInfoEntity;
import com.nj.liandi.gulimall.ware.vo.FareVo;

import java.math.BigDecimal;
import java.util.Map;

/**
 * 仓库信息
 *
 * @author MZJ
 * @email MZJ@gmail.com
 * @date 2021-08-19 17:06:21
 */
public interface WareInfoService extends IService<WareInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /*
     * description: 根据用户地址计算运费 <br>
     * version: 1.0 <br>
     * date: 2021/10/29 11:14 <br>
     * author: maizj <br>
     * param: [addrId]
     * @return java.math.BigDecimal*/
    FareVo getFare(Long addrId);
}

